package com.vhans.db.model.vo.quiz;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 推荐题目
 *
 * @author vhans
 */
@Data
@ApiModel(description = "推荐题目")
public class QuizRecommendVO {
    /**
     * 题目id
     */
    @ApiModelProperty(value = "题目id")
    private Integer id;

    /**
     * 提问者头像
     */
    @ApiModelProperty(value = "提问者头像")
    private String avatar;

    /**
     * 题目标题
     */
    @ApiModelProperty(value = "题目标题")
    private String title;

    /**
     * 题目内容
     */
    @ApiModelProperty(value = "题目内容")
    private String content;

    /**
     * 发表时间
     */
    @ApiModelProperty(value = "发表时间")
    private LocalDateTime createTime;
}
